package week13.queue.memory;

import lombok.Data;
import week13.queue.api.ConsumerGroup;

public class MemoryConsumerGroup implements ConsumerGroup {

    private String name;

    public MemoryConsumerGroup(String name) {
        this.name = name;
    }

    @Override
    public String getConsumerGroupName(){
        return name;
    }
}
